﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Beetle.Web
{
    [global::System.AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = false)]
    sealed class ContentPresenterControlAttribute : Attribute
    {
        readonly string contentFieldName;

        public ContentPresenterControlAttribute(string contentFieldName)
        {
            this.contentFieldName = contentFieldName;
        }

        public string ContentFieldName
        {
            get { return this.contentFieldName; }
        }
    }
}
